﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Li.EntityFramework.IRepository
{
   public interface IBaseRepository<TEntity>
    {
        int DBSaveChange();
        void Add(TEntity entity);
        void Remove(TEntity entity);
        TEntity GetById(int id);
        IEnumerable<TEntity> GetALL();
    }
}
